package com.ruoyi.web.domain;

import java.math.BigDecimal;

import com.ruoyi.web.domain.mes.MesPaper;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退库单明细对象 mes_refund_detail
 * 
 * @author wxt
 * @date 2024-01-23
 */
public class MesRefundDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 主表id */
    @Excel(name = "主表id")
    private Long refundid;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 纸张id */
    @Excel(name = "纸张id")
    private Long paperid;

    /** 退库数量 */
    @Excel(name = "退库数量")
    private BigDecimal total;

    /** 备注 */
    @Excel(name = "备注")
    private String detailRemark;

    private MesPaper MesPaper;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRefundid(Long refundid) 
    {
        this.refundid = refundid;
    }

    public Long getRefundid() 
    {
        return refundid;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setPaperid(Long paperid) 
    {
        this.paperid = paperid;
    }

    public Long getPaperid() 
    {
        return paperid;
    }
    public void setTotal(BigDecimal total) 
    {
        this.total = total;
    }

    public BigDecimal getTotal() 
    {
        return total;
    }
    public void setDetailRemark(String detailRemark) 
    {
        this.detailRemark = detailRemark;
    }

    public String getDetailRemark() 
    {
        return detailRemark;
    }

    public MesPaper getMesPaper()
    {
        return MesPaper;
    }

    public void setMesPaper(MesPaper MesPaper)
    {
        this.MesPaper = MesPaper;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("refundid", getRefundid())
            .append("type", getType())
            .append("paperid", getPaperid())
            .append("total", getTotal())
            .append("detailRemark", getDetailRemark())
                .append("MesPaper", getMesPaper())
            .toString();
    }
}
